<@override name="head">	
<title>新增关联</title>
<script type="text/javascript" src="${ctx}/assets/js/lib/bootstrap.min.js"></script>
<script type="text/javascript" src="${ctx}/assets/js/lib/bootbox.js"></script>
<script type="text/javascript" src="${ctx}/assets/js/back/clientAccount.js"></script>
</@override>	
<@override name="body">
<div id=content_bg>
<#include "/main/home/common.ftl"/>
	<div id= "pagecontent">
		<div id="content">
	   		<div id="navDiv">
				<ul id="navDiv_ul">
					<li><i class="icon-home"></i></li>
					<li><a href="${ctx}/back/main/dashboard">首页</a></li>
					<li><i class="icon-angle-right"></i></li>
					<li><a href="${ctx}/back/main/client-account/list">客户账号管理</a></li>
					<li><i class="icon-angle-right"></i></li>
					<li><a href="${ctx}/back/main/client-account/correlation">账号关联</a></li>
					<li><i class="icon-angle-right"></i></li>
					<li class="navDiv_currentLi">新增关联</li>
				</ul>  
	 		</div>
	 		<form id="correlationForm" action="${ctx}/back/main/client-account/savecorrelation" method="post">
				<div class="input-group" id="selectuls">
			  		<label class="input-label">请选择运营商:</label>
			  		<ul id="main_operatorListUl">
						<li class="select_box" id="operatorListUl_box">
							<span id="operatorListUl_span">请选择运营商</span>
							<ul class="son_ul" id="son_operatorListUl"></ul>
						</li>
					</ul>
					<input type="hidden" name="operatorId" id="selectedOperatorId" value="${selectedOperatorId!}"/>
					<label class="input-label">请选择代理商:</label>
			  		<ul id="main_agentUl">
						<li class="select_box" id="agentListUl_box">
							<span id="agentListUl_span">请选择代理商</span>
							<ul class="son_ul" id="son_agentListUl"></ul>
						</li>
					</ul>
					<input type="hidden" name="agentId" id="selectedAgentId" value="${selectedAgentId!}"/>
			  	</div>
				<div id="footBtn_other">
					<div id="btn-correlation-save" class="btn-save" >保存</div>
					<button id="btn-correlation-cancel" class="btn-cancel" type="button">取消</button>
				</div>
			</form>
		</div>
    </div>
</div>
</@override>
<@extends name="/common/simple.ftl"/>